Choose Mailbox > Edit Smart Mailbox, then change the criteria.
In the Mail app Use rules to manage emails you receive in Mail on Mac