enhanced API for handling rules with interval semantics