That's funny yesterday I broke out the ACDelco Gas Cleaner to remove the RainX from my car windshield.
I put it on there for winter, but when it partly wears through it is IMO absolutely horrible creating a smearing mess during a downpour like I ran in yesterday.
I won't use it on a visor after many years ago it clouded the visor on my Bell Star helmet and I remember hearing other tales at the time.
This may no longer be a problem as I said it was years ago, formulations may change, plastics may change, but you are definitely doing the right thing asking.
After cleaning my visor and my windshield I use Lemon Pledge on them, it beads water well and is cheap and easy, although if you wipe your visor frequently with your gloves it needs redoing regularly.