You may be interested in how Predicate Conditions work in Rule 5.0. If the Predicate Conditions are established so that a rule can only run while not during Shabbat, nothing will happen during that period. There will be no triggers fired, no logic run --> nothing at all happens during that period. Instead, a scheduled event was established for the end of Shabbat which sits in the database, inactive until it is that time. At that time, the functioning of the rule would be re-established.
I should note that this use of Predicate Conditions had not occurred to me, and that there may need to be a slight enhancement to the conditions it supports, as Shabbat can be longer than 24 hours. There are conditions for between to dates, and between two times, but not for between one date at a specific time, and another date at some other specific time. I will look into adding this possibility for the next release.
Also, the ability to disable/enable a device has been added to Rule Machine for the next release.