If the forecast predicts rain, just prepare for it.
I carry a cap with a long visor, and already wear wrap around goggles to cover my prescription glasses. I have a garbage bag in my bike bag. I wear croc sandals and have neoprene socks so if my feet get wet I don't care as much if I'm wearing shoes.