Class RegraWidget refactored to RuleWidget.