No native speaker would interpret #1 as anything other than rain.
The only difference between the two is the duration. The first one tells us the heavy rain lasted all day. The second one just tells us that it rained heavily for an unspecified amount of time.