Fix RuleWrapper assignment.