Welcome to the JavaRanch, Santosh!
RichFaces 4 removed the spacer and rule tags. I wasn't pleased about that, since it's just one more thing that makes upgrading from RichFaces 3 a non-trivial process, but they didn't ask me.
You can get spacing control by using the CSS padding and margin properties on the elements you want separated. Or, if you feel the need for a discrete element to replace the rich:spacer element, you can use a raw HTML DIV tag or its
JSF equivalent: a 1-column panelGrid.