I would like to create a rule for Apple Mail that combines "all" and "any". Specifically, I need to do a rule where I have a group of "any" criteria, "Message content contains X" OR "Message content contains Y" (and potentially some more ...) but I would like this to only apply to one of my email accounts, so the condition "Account is iCloud" must always be met. Somehow along those lines
I could, of course, create multiple "all"-rules and have them perform the following action, but that is cumbersome. Any suggestions?
EDIT:
The action I would want to attach is to move the matching messages to a designated "On my Mac" mailbox/folder and at the same time moving them to the IMAP trash so they'll get deleted from the server.