I am puzzled by "It leaks only when driven through a heavy rain"
I would check the following:
1. Sunroof drain (if you have a sunroof)
2. AC evap drain (I know you only mentioned rain, but just to be sure)
3. Remove plastic channel above brake booster and thoroughly check for rust.