apply rank according to tournament type
add data upgrade utilities to apply this on older data