“Definitely correct; just the way it should be. It could just as well be ‘right as clouds’ or any number of other things, but ‘rain’ it is, doubtless because of the allure of alliteration” – The Dictionary of Cliches by James Rogers
The Guardian offers this explanation of the phrase’s origin.