int order = Integer.parseInt(filterElement.getAttributeValue(Attributes.ORDER.get()));
boolean isEnabled = Boolean.parseBoolean(filterElement.getAttributeValue(Attributes.ENABLED.get()));
boolean matchAllNews = Boolean.parseBoolean(filterElement.getAttributeValue(Attributes.MATCH_ALL_NEWS.get()));
/* Search if provided */
ISearch search = null;
Element searchElement = filterElement.getChild(Tag.SEARCH.get(), RSSOWL_NS);
if (searchElement != null) {
search = factory.createSearch(null);
search.setMatchAllConditions(Boolean.parseBoolean(searchElement.getAttributeValue(Attributes.MATCH_ALL_CONDITIONS.get())));
/* Search Conditions */
List<?> conditions = searchElement.getChildren(Tag.SEARCH_CONDITION.get(), RSSOWL_NS);
for (int i = 0; i < conditions.size(); i++) {
try {
Element condition = (Element) conditions.get(i);
ISearchCondition searchCondition = processSearchCondition(condition, dateFormat);
if (searchCondition != null)
search.addSearchCondition(searchCondition);
} catch (NumberFormatException e) {
Activator.getDefault().logError(e.getMessage(), e);
} catch (ParseException e) {
Activator.getDefault().logError(e.getMessage(), e);
}