cleanup: better names for RulesRegistry class and .rules attribute