The noun rank can be countable or uncountable.
In more general, commonly used, contexts, the plural form will also be rank.
However, in more specific contexts, the plural form can also be ranks e.g. in reference to various types of ranks or a collection of ranks.