Switch to a much cleaner implemention for configuration rewriting