private Object readParentCourseGroups(String selectedCurricularRuleType) throws FenixFilterException, FenixServiceException {
private Object readParentCourseGroups(String selectedCurricularRuleType) {
    private Object readParentCourseGroups(String selectedCurricularRuleType) throws FenixFilterException, FenixServiceException {        final List<SelectItem> result = new ArrayList<SelectItem>();        if (selectedCurricularRuleType != null && !selectedCurricularRuleType.equals(NO_SELECTION_STRING)) {            for (final Context context : getDegreeModule().getParentContexts()) {                final CourseGroup courseGroup = context.getParentCourseGroup();                if (!courseGroup.isRoot()) {                    result.add(new SelectItem(courseGroup.getIdInternal(), courseGroup.getName()));                }            }            Collections.sort(result, new BeanComparator("label"));        }        result.add(0, new SelectItem(NO_SELECTION_INTEGER, bolonhaResources.getString("all")));        return result;    }