Global m2 rewrite