add removerule test script