add rule id to log