Extracted rankMap to Utilities class