Weka filters refactoring