If you are likely to develop several similar rules involving time periods, you may find this approach useful