private static Map getFilters(Limit limit) {
Filter[] filters = limit.getFilterSet().getFilters();
Map result = new HashMap();
for(int i = 0; i < filters.length; i++) {
Filter filter = filters[i];
result.put(filter.getAlias(), filter.getValue());
}
return result;
}