refactor to tie drools off from neuroph