Rules, constraints, and phonological phenomena