changed implementation of RankGroupResolver from 'spanning tree' approach to 'layers' approach
corrected header file name typo