placed RankGroupsResolver in appropriate namespace