Rewrite condition.