The cap is Rank 40.
Once you hit it, progression shifts away from levelling and toward gear, renown, and end-game activities instead.