Jonathan Rea moved closer to a third straight World Superbikes title by taking pole position for Race One at a rain-soaked Magny-Cours.