Change rules to ignore the entire output directory.