Right now there's no way to WQL a bunch of cards that have a given rule (or bunch of rules applied to them, because WQL doesn't know about the override hierarchy among sets.
+discussed in support tickets
a way for WQL to follow rule logic+relevant user stories