I would suggest to have a separate method for getting claims by rank - getClaims( $rank ), or getCLaimsByRank(), or getPReferredClaims(), etc. And use these here.