List<StdArrangementMatchRule> () { final List<StdArrangementMatchRule> rulesSequences = new ArrayList<>(); for (int i = 0; i < getModel().getSize(); i++) { Object element = getModel().getElementAt(i); if (element instanceof StdArrangementMatchRule) { rulesSequences.add((StdArrangementMatchRule)element); } } return rulesSequences; }