def METHOD_NAME(self):
    prev_item = self.model_item
    while prev_item is not None:
        prev_item = prev_item.METHOD_NAME()
        if (not isinstance(prev_item, SimulatorProtocolLabel) and
                not isinstance(prev_item, SimulatorRule)):
            break
    return self.scene().model_to_scene(prev_item)