send rules to screen and debug log