added predicates for same degree and coef, reduces grounding time
simplified action data for addCommonTerms rule