You can restrict the times when a rule is valid by defining an access time and adding it to the rule conditions. You can also use access times as script entities.