Likely you have changed the type of search hazel is doing by modifying the dropdown just above the condition pane.
For those conditions to be AND'd together, make sure it reads:
if (all) of the following conditions are met for (the file or folder being processed):