"production" is a rule such as oneP(...), zeroP(...), etc. Rule 1: IF there are 1 or more productions in an output, THEN add .1 for each production. Rule 2: IF there are 1 or more plus sign(+) THEN add .01 for each one. Rule 3: IF there are 1 or more minus sign(-) THEN add .025 for each one. Rule 4: IF there are 1 or more multiplication sign(*) THEN add .05 for each one. Rule 5: IF there are 1 or more division sign(/) THEN add .1 for each one.