'Return a list of the applicable AUXILIARY object classes
for a STRUCTURAL object class specified by \'nameoroid\'
if the object class is governed by a DIT content rule.
If there\'s no DIT content rule all available AUXILIARY
object classes are returned.'

def get_applicable_aux_classes(self, nameoroid):

    content_rule = self.get_obj(DITContentRule, nameoroid)
    if content_rule:
        return content_rule.aux
    else:
        return self.listall(ObjectClass, [('kind', [2])])
