What I would do is setup a Inbox addressA and Inbox AddressB then us a rule
to move any addressA to InboxA addressA and another rule to move any addressB
to Inbox AddressB.
You would have to be sure order other rules you make run before these 2 rules.