The condition is met if WordPress run in command line mode. With this rule you can disable all unnecessary plugins during CLI.