def METHOD_NAME(context):
    context.ipr.rule('add', table=10, priority=32000)
    assert (
        len(
            [
                x
                for x in context.ipr.get_rules()
                if x.get_attr('FRA_PRIORITY') == 32000
                and x.get_attr('FRA_TABLE') == 10
            ]
        )
        == 1
    )
    context.ipr.rule('delete', table=10, priority=32000)
    assert (
        len(
            [
                x
                for x in context.ipr.get_rules()
                if x.get_attr('FRA_PRIORITY') == 32000
                and x.get_attr('FRA_TABLE') == 10
            ]
        )
        == 0
    )