fixed validation error in rule_engine