add print msgs for select production rules