Gmail’s advanced search box has a new option: “don’t include chats”. If you click the checkbox, Gmail will append to your query: “-in:chats”, reports Google System.
So this means, You can include -in:chats in your searches to easily search everything inside except for chats. You can use this in your filters too, to make them work better.
More Gmail Tips here.