An Algebra-Based Method to Associate Rewards with EMPA Terms