Bug 1075617 followup to fix crash when rule is null.