Chiral Rings and Phases of Supersymmetric Gauge Theories