private static MessageFilterTranslatable parseToTranslatable(MessageFilterParser parser) {
try {
MessageFilterParser.filter_return result = parser.filter();
return (MessageFilterTranslatable) result.getTree();
} catch (RecognitionException e) {
throw new MessageFilterParsingException(e.toString(), e);
}
}