Change Rules settings in Mail on Mac
Use Rules settings in Mail to add, change, copy, and delete rules used to manage incoming messages.
To change these settings in the Mail app on your Mac, choose Mail > Settings, then click Rules.
Available rules are listed.
When a rule’s checkbox is selected, the rule is being applied to your messages. To keep a rule but not use it, deselect its checkbox.
Rules are applied in the order in which they appear in the list; drag a rule up or down to change the order.
Add a rule to manage emails you receive.
Change the conditions and actions for a rule.
Copy a rule so that you can edit it to create a new rule.
Delete a rule.
If you use iCloud Drive, your rules are available on your other Mac computers that have iCloud Drive turned on and Mail selected in iCloud Drive options. Files attached to rules, such as sound files or scripts, aren’t available. See Use iCloud Drive to store documents.