Simple Rules for the Solubility of Ionic Compounds in Water