Keith Cronin won the Ulster Rally ahead of Fredrik Ahlin and Martin McCormack to set up a championship decider at the final round on the Isle Of Man in the 2017 Prestone MSA British Rally Championship.