Another thought would be to wipe the suction cups clean. Let the air dry throughly. IE over night then take a little bit of water around the suction cup not soaking it, and then stick it to your ruler. Like you would suction cup hooks for on the windows or bathroom shower walls.
Katrina