module Lutaml::Model::Serialize::ClassMethods

def valid_rule?(rule)

def valid_rule?(rule)
  attribute = attribute_for_rule(rule)
  !!attribute || rule.custom_methods[:from]
end