I recently had a Pv solar system installed for electricity only. The county inspector (in calif) told the installer that the inlet and outlet water pipes of the natural gas water heater had to be tied together. I know that the cold already was grounded. I know that there is potential for electrolysis, but can't figure out why this is code? Any ideas?