card.m, rank.m: ranks now support pretty printing