Did you already chop them? They might have been saveable on the plant.
Literally go through your crop and give each individual plant as good of a shaking as it can handle. Then go through the normal stages of cutting, cleaning and curing. One note, if you can dehumidify during this stage it will help, and I would watch curing in sealed jars.
I have seen plants go through monsoons and recover. Remember, chopping it before a cleanse, doesn't help anything, your just going to smoke chemicles. Shaking the plants can get up to 80% or more of the water off of them. Its only stagnant because plants don't shake themselves. Air flow is key as well, but I assume if they were rained on, that it is an outdoor crop. Are you curing indoors? During the same rainy spell? If so, your air humidity will be soooo high, that curing will be moist and long anyway. Do you have a dehumidifier? This is much better than heat, overs or anyother such thing. Heat will help create the very mold you want to avoid! ! !