Have you checked the rain rail itself for cracks? Mine used to let lots of water into the boot and under the carpet in the passenger compartment until I replaced it.
The water is coming in through the back window, there doesn't seem to be a seal between the plastic and the glass, the plastic can be pulled away from the glass easily.