Extinguish the torches that are in the rain.
Which torch do you want, a torch, a redstone, a lever, or something else?
Protect your torch with a block.
Place the torch out in the rain, it will break!