more refactor of rule repo into logical parts (classes) - single responsibility
repo cleaner and registrator