If you wish the filter to take effect upon either 'SUBJECT CONTAINS' or 'FROM,' you must create two separate filters: one with 'SUBJECT CONTAINS' and another with 'FROM' as your filter criteria.