Remove trailing whitespaces
Changed config validation for Rank_Levels, successive Ranks can now be less than or equal to each other

Closes #1790