I try to select the right gear, get out of the saddle and maintain a steady cadence over rolling hills. If my cadence drops really fast, I know I chose the wrong gear... I have also noticed being in the drops helps me out when I am going over rolling hills. Good luck.