add grammar rules file to be used by the scanner