add production rules.