Sentence:  The same command is repeated as many times as there are levels in <WSD>rank</WSD> from general to corporal . 
Meaning of the word marked with <WSD> tags:  relative status