Clean the rusted areas with 0000 steel wool and then oil.
To keep it from happening again, keep the gun well oiled before going out and if it rains, come home and IMMEDIATELY remove the stock, dry EVERYTHING and then re-oil.
It is a pain sometimes, but very well worth it.
Kev