def instancify(technology, rule)
      class_name, attributes = send("parse_rule_of_type_#{rule.class.name.downcase}", rule)

      Rule.const_get("#{class_name}Rule").new(technology, attributes)
    end
def instancify(technology, rule)
      class_name, attributes = send("parse_rule_of_type_#{rule.class.name.downcase}", rule)

      Rule.const_get("#{class_name}Rule").new(technology, attributes)
    end
Create a class instance for a rule entry