As far as I can see the only differences are the removal of the anchors on the "interesting" line and the addition of the alternate icon.
If you really meant to remove the anchors then the only way to combine the two rules is to use first_non_empty with the separate rule sets. Best would be to set some variable to the result of the "contains" tests so you don't recalculate them.
I am out of time so I must leave it to you to work out how to do it.
|