code: def get_model(self):
      try_import_imodels()
      from imodels import BoostedRulesClassifier
  
      if self.problem_type in ["binary"]:
          return BoostedRulesClassifier
      else:
          raise Exception(
              "Boosted Rule Set only supports binary classification!"
          )
  
imports: from abc import abstractmethod
  import numpy
  import pandas
  from sklearn.preprocessing import OneHotEncoder
  from autogluon.common.utils.try_import import try_import_imodels
  from autogluon.core.models import AbstractModel
label_desc: Use image node_id 1 for calling the BoostedRulesModel obj's underlying member method code with example usage: obj.get_model() and returns: BoostedRulesClassifier