zap debug
checkout master branch by default
some logging fixes
add tests for processDetectionRules()