No, chemistry.
To oversimplify: KOH, NaOH (potassium hydroxide, sodium hydoxide) have similar properties.
I agree - it really doesnt have anything to do with grammar. All they are saying is that simple rules can, in most cases, determine which compounds are useful and which are not.