improving syntax highlighting for the grammar rules