def METHOD_NAME(api):
    '''
    test to raise the exception use_cache filter is normalized
    '''
    filters = getattr(api.filters, '_use_cache')\
        ('rules', 'access-groups/rules/filters', 'rules', True)
    assert isinstance(filters, dict)
    for data in filters:
        check(filters[data], 'choices', list, allow_none=True)
        check(filters[data], 'operators', list)
        check(filters[data], 'pattern', str, allow_none=True)