IMO most important prerequisite for Rudin is understanding of logic and how to derive knowledge from the axiomatic method. You should know how to prove a disjunction, implication , conjunction and biconditional how to use contrapositives direct and indirect proofs and induction.