Right, but I wouldn’t do such a rule periodically. There is, however, one situation that you could (and, in my opinion, need to) address, namely, when the hub is off for a length of time (due to orderly shutdown during a power fail, before the UPS is drained), or, as you note, during a reboot from firmware update or for some other reason.
There was extensive discussion a while back on whether the Hubitat OS could handle this automatically, but Bruce Ravenel (@bravenel) indicated (and convinced me) that this had been considered by Hubitat staff and that it was not possible to handle all the varieties of configurations and states being managed by users, and that, if desired, each user would have to develop a strategy on their own for an appropriate rule triggered by systemStart(). Mine is shown below, simply as an example. It used to have (as you discuss) a refresh() for each Ring Extender v2 repeater (I have 6) because the return-to-mains Z-Wave event is lost on power up reboot by the hub (the event is sent and dropped by the hub while rebooting). Denny Page (@dennypage) modified his excellent Ring Extender driver to schedule a delayed refresh() on startup so that the return-to-mains event was not lost. At the time he made this enhancement, the built-in Ring Extender driver had no such feature. I have not tested the built-in driver to know if this has ever been addressed in the intervening years since.
So, here is my System Start rule, simply as an example. Works for me, and it’s pretty simple and self-explanatory, I believe.
System Start rule
The 6 Hub Variables (Ring?-onBattery) are part of a set of power fail detection voting rules that shut down the Hub when a majority of the Ring Extenders vote that there has been a power fail. This handles failure of a single Ring Extender or having a Ring Extender accidentally be removed from an outlet, as has happened when my wife wants to use the outlet for vacuuming. Those rules have been presented elsewhere in the forum, and are not important for this discussion.
The final line in the rule initializes my rules that manage the Litter Robot, and change the color of the under-counter light strips depending on the waste level in the Litter Robot, and flash if the Litter Robot is in a fault situation or if it needs emptying. These rules have been presented elsewhere in the forum as well.