i want to make a class method similar to Module.private in that it
should affect subsequent instance method defentions.
def self.rule name
# code such that all subsequent instance methods
# defined in subclasses are registered as part of rule ‘name’
class Bar < Foo
the following instance methods magically
become associated with :my_first_rule
is this possible, or do i need to do some metaprogramming where methods
which belong to a rule start with the rule name say.