Rewrite exclude settings