Thermodynamics and Kinetics of Water-Rock Interaction