syntax rewrite