'Creates a new FilterModule for ose version checking.'

def __init__(self):

    self._filters = {}
    for (major, minor_start, minor_end) in self.versions:
        for minor in range(minor_start, minor_end):
            func_name = 'oo_version_gte_{}_{}'.format(major, minor)
            func = gte_function_builder(func_name, '{}.{}.0'.format(major, minor))
            self._filters[func_name] = func
    legacy_filters = [{'name': 'oo_version_gte_3_1_or_1_1', 'versions': {'enterprise': '3.0.2.905', 'origin': '1.1.0'}}, {'name': 'oo_version_gte_3_1_1_or_1_1_1', 'versions': {'enterprise': '3.1.1', 'origin': '1.1.1'}}, {'name': 'oo_version_gte_3_2_or_1_2', 'versions': {'enterprise': '3.1.1.901', 'origin': '1.2.0'}}, {'name': 'oo_version_gte_3_3_or_1_3', 'versions': {'enterprise': '3.3.0', 'origin': '1.3.0'}}, {'name': 'oo_version_gte_3_4_or_1_4', 'versions': {'enterprise': '3.4.0', 'origin': '1.4.0'}}, {'name': 'oo_version_gte_3_5_or_1_5', 'versions': {'enterprise': '3.5.0', 'origin': '1.5.0'}}]
    for legacy_filter in legacy_filters:
        self._filters[legacy_filter['name']] = legacy_gte_function_builder(legacy_filter['name'], legacy_filter['versions'])
