changed Rules and RulesTest classes