实现RuleCondition