changed polynomials to have a variable number of terms, and to have a numTerms field
working on addCommonTerms rule
added rule to project based on action name