Adding a time range for an open contact sensor rule

Yup...there's the main Rule 4.0 thread which has a lot of examples:

Or you can go to docs.hubitat.com and read up on Rule Machine and how it works. Or you can search the forum here. There are a bunch of people asking for help with the exact same situation.