should be <code>rules[0] = rules[0].upcase</code> (we dropped 1.8 compatibility)