'Loads the proper action by the type attribute of elem'

@classmethod
def from_elem(cls, parent, elem):

    filter_type = elem.get('type', None)
    assert (filter_type is not None), "Required    'type'    attribute    missing    from    ToolOutputActionOptionFilter"
    return filter_types[filter_type](parent, elem)
