Well, if we can get an issue fixed that lets you use Strings in the where clause it would work.
Until then…
I’m not seeing the same behavior (i.e. restoreOnStartup does not trigger any of my rules) so I can’t really guess at a good solution. However, I too have faced an issue with too many notifications to my SO which is one of the reasons why I wrote this design pattern which shows you how to centralize your notification logic so you can do things like only send alerts to you and not your wife when your system is starting up.
It’s just a band aide but sometimes band aids can go a long way towards easing the pain.