When mail rules go bad

Just upgraded from 7 to 9. This rule worked in 7. In 9 I cant see how to implement it.
I need the rule to only apply to one account, not all accounts.

If you edit the Rule, you can specify which account it should apply to. Thereafter it will only apply automatically to messages received on that account.

Or, if you want to manually apply the Rule, you can choose which folder to apply it to.