def declare_level(type, rules)
      level  = TrumpetRule.find_or_create_level(type)
      points = TrumpetRule.find_or_create_points(type)
      TrumpetRule.trumpet_levels[level.name] = rules
    end
def declare_level(type, rules)
      level  = TrumpetRule.find_or_create_level(type)
      points = TrumpetRule.find_or_create_points(type)
      TrumpetRule.trumpet_levels[level.name] = rules
    end
attr_accessor :trumpet_levels, :trumpet_achievements