Morton,
I haven't looked carefully at the GlowPlug Rail, but speaking from experience, it is always a poor connection that causes corrosion at a joint.
It is unlikely that the leaking intercooler has been the primary cause, as the engine itself would be much hotter than the air escaping from the intercooler, but it may have contributed a little.
What can cause poor connections is the constant cycle of hot and cold. Everytime your engine gets up to operating temperature, the different metals and materials expand at different rates to each other, stretching and pulling against these joints. Then on cooldown, the materials shrink back to their normal sizes, but at different rates again, and at different times, as equipment further away from the block will cool down quicker.
Make sure that the new rail is clean. Try not to touch the rail at the glow plug connection so you don't leave grease or oil on the rail where the connections are, and make sure that the plugs are as clean as a whistle too. Then make sure they are then nice and tight, and you should be good to go.
Mic