Green’s Dictionary of Slang

rank v.3

[SE rank, to assign a rank, in this case high]

In phrases

rank one’s hand (v.)

[1960s] (US black) to overestimate one’s abilities or position.