Ranking rules

Check out the rules for ranking in case when teams have same points.