Ranking only affects eligibility to play Advanced matches, I think.

The rating seems to be based on the ELO system but I'm not sure how it works in practice since you can win if you end 1st or 2nd but lose in 3rd or 4th.