matchesRule(rule) : Function. Returns true if the rule matches with the time. See time trigger rules for rule examples.