Optical frequency synthesizer for precision spectroscopy of Rydberg states of Rb atoms