Cleanup of drools detector DROOLS-84

Cleanup for runtime detection

DROOLS-84