Added additional logging and better rule recognition to Kookoo tests

Change-Id: I51e1c2376b73e68a549252af92dcf235d208ff9a