I can only tell, that the formulas in ISO 6336-3 are different for internal and external gears. For internal gears a rim thickness larger 3.5 times module is required to avoid loss of strength, for external gears it would be a rim thickness of 1.2 times whole depth.
The formulas are YB = 1.6 *...