Add mach.rewrite