Wisely, not dedicated to anybody
Rank is another word for your title and position in the army.
So a General is a higher rank than a Colonel.
When you use your position and assert you're authority, you pull rank.
During the second world war, Britain formed platoons of home guard soldiers. These were generally made up of people too old or young to fight. It became the basis of one of the most popular comedy's ever with a of of rank pulling but Captain Mainwaring (pronounced Manaring) isn't very good at his job!
(Like a lot of people who pull rank eh?)