rewrite rules: syntax highlighting