Iterator itery = customExpressionRules.entrySet().iterator();
itery.hasNext();) {
Map.Entry entry = (Map.Entry) itery.next();
Rule rule = (Rule) entry.getValue();
if (rule.evaluate(e)) {
eventBatch.addEvent(
(String) entry.getKey(),
(e.getProperty(ChainsawConstants.EVENT_TYPE_KEY) == null)
? ChainsawConstants.LOG4J_EVENT_TYPE
: e.getProperty(ChainsawConstants.EVENT_TYPE_KEY), e);