Original rule2alert (http://code.google.com/p/rule2alert/) improvements