Yes. It is the rank. It is not the category. For all the pilots who are brigadier generals, the maximum age is 60. For pilots who are major generals, it is 63. For three-star generals or the chief of the defence staff, it's 65. When you reach those stages, you have to go on pension.
On April 20th, 2009. See this statement in context.