added uid to Rule Sets and Rules
refactor meta class methods
refactoring