Fix for randomly failing tests in Kookoo

These tests will now wait until the Kookoo security
rule gets loaded.

Change-Id: Ib048e1fb9cd247340991befa7b015756a69eaae7