rewrite guidelines