Don't generate reflection rules if reflection is disabled for that rule.