Implement the Rank Factory