Refactored for RulesConditionContainer.