Rain is not an issue in respect to solar lights if they are of good quality and have the correct IP rating for outdoor use. Choosing the right lights, performing proper maintenance, and being more circumspect will ensure that your solar lights work just fine even when it rains.