move grammar into production area