Yeah, the topmost line, but for the fixes in order of the flightplan.
First ES searches from top to bottom the rule for the first fix, and if there are more than one rule which applies, then the topmost wins.
If nothing for the first fix is found, then it goes on with the next fix, and so on.