def METHOD_NAME(context):
    context.ipr.rule(
        'add',
        table=17,
        priority=32005,
        src='10.0.0.0',
        src_len=24,
        dst='10.1.0.0',
        dst_len=24,
    )
    assert (
        len(
            [
                x
                for x in context.ipr.get_rules()
                if x.get_attr('FRA_PRIORITY') == 32005
                and x.get_attr('FRA_TABLE') == 17
                and x.get_attr('FRA_SRC') == '10.0.0.0'
                and x.get_attr('FRA_DST') == '10.1.0.0'
                and x['src_len'] == 24
                and x['dst_len'] == 24
            ]
        )
        == 1
    )
    context.ipr.rule(
        'del',
        table=17,
        priority=32005,
        src='10.0.0.0',
        src_len=24,
        dst='10.1.0.0',
        dst_len=24,
    )
    assert (
        len(
            [
                x
                for x in context.ipr.get_rules()
                if x.get_attr('FRA_PRIORITY') == 32005
                and x.get_attr('FRA_TABLE') == 17
                and x.get_attr('FRA_SRC') == '10.0.0.0'
                and x.get_attr('FRA_DST') == '10.1.0.0'
                and x['src_len'] == 24
                and x['dst_len'] == 24
            ]
        )
        == 0
    )