yes, having a getClaims( $rank ) would be good. This reduces the complexity of the method and makes it usable from other contexts.