It applies to insured and uninsured loans alike. OSFI publishes the minimum qualifying rate for uninsured mortgages — that is its Guideline B-20 — and the same formula governs the insured side under the federal rules; the FCAC states it in one sentence for consumers. In other words: the rate you are qualified at is almost never the one you sign, and that gap is deliberate.
It enters the calculation through the two percentages the lender decides: GDS, what housing would take of your gross income, and TDS, which adds all your other debts. From that follows a practical consequence many people discover late: cutting consumer debt before applying improves the result more than getting a slightly lower rate, because qualification does not use your rate.