Get list of tasks use "whose"

I’ve got a script that grabs tasks with the following:

Application('OmniFocus').defaultDocument.flattenedTasks.whose({completed: false, _not:[{parentTask: null}]})();

I want to add to the whose and exclude certain contexts. I cannot figure out the correct syntax though.