allow time restrictions to be updated for rules, fixes #46