The conditions are considered in the order they’re written in the file, so put more general “catch-all” items at the bottom and more specific “if...” items at the top.
Parameters may also be used in the "equals" or "notequals" attribute. You could for example create a condition like
Only if=".." equals=".." and if=".." notequals=".." are available.
If the parameter has a value like foo||bar i.e. created as a result of a request such as ?param=foo¶m=bar then the equals=".." will check if any of the values match, and notequals=".." will check that none of the values match the value.