use clips as the rule engine