If you specify the WITH NONE option for a BEGIN QUERY LOGGING request, then you must submit an END QUERY LOGGING request to remove those rules.
The ALL RULES phrase deletes all the rules in DBQLRuleTbl, sets logging off for all active sessions, and clears all rules in all DBQL caches.