mail rule based on "If the To line contains"

There doesn’t appear to be an option for setting a mail rule based on If the To line contains address.

If I collect a number of POP email accounts in the one client session (which I do) and I’d like all the mail addressed To xxx@yyy.com to be moved into an xxx folder; I can’t do it.

After message has been received
with ‘ebay’ found in subject
and from ‘ebay@ebay.com.au’, ‘aucswebhelp@ebay.com’, ‘ebay@ebay.com.au
and received using lmnau-ebay@d2p.com.au
move to Ebay

even this doesn’t work. It doesn’t move mail based on account to specific folder.