code: def association_rules(self):
          
          if not self.check_type(self.jobject, "weka.associations.AssociationRulesProducer"):
              return None
          return AssociationRules(
              javabridge.call(self.jobject, "getAssociationRules", "()Lweka/associations/AssociationRules;"))
docs: Returns association rules that were generated. Only if implements AssociationRulesProducer.
  
          :return: the association rules that were generated
          :rtype: AssociationRules