Filtering the rows by rules

You can use

or