Do not pass unification flags around in Rewrite.