if ($ServicePlanSettings.Organization.TransportRuleLimit) { int $TransportRuleLimit = $ServicePlanSettings.Organization.TransportRuleLimit; ...