What Hj Is saying is that its probably galvanized pipe. Galvanized pipe + water+ plus brass/copper = electrolysis, and the rusting you see. Are all your pipes galvanized? Or is it only that nipple running into the wall? You have 3 options, and really only one that is a good solution.
1...