Tune Up?
This could be a number of things. How many miles do you have and when was it tuned up last?
Any arcing on the coil?
When was the last time you tuned it up? Cap, rotor, plugs and plug wires. The Cap could have a hair line crack and you may not have noticed it. The wires could be bad (including the coil wire) and losing resistence in the rain. You drive it for a while and dry out the short and hence it runs better.
You can always start it up at night, turn off the hood light, if you have one, and look for arcing. You can grab each plug wire, one at a time too, and see if you get a little jolt too.
You can closely examine the coil for any white looking stains which may suggest a bad coil or coil wire.
I would replace the above tune-up parts as a first step, especially if it has been some time since you have done this.