Patch rules_event_whitelist as cache