Adds ranking for matches (pairs, three-of-a-kinds, etc.).