Make RuleAttributesWidget handle read-only