make RulesSouce an enum with label as attribute
changed enum, merged from alikins/rules_source