extracting more code to basicRuleContainer
merging
changing RulesSet