You must create 2 strategies.
One for scores 1-0 and second one for scores 0-1.
Then set first strategy to use "Bet type by RUNNER position" and to Lay runner 1 if score is 1-0. To check if it is underdog use "Market conditions->Min/max required price for selection" and set it to check prices from before in play for price range 2.0 - 1,000. As this is market with 2 selections, if runner price was above 2.0 then it was underdog.
In same way set second strategy for runner by position 2.
Also add "Selection conditions->Min/max selection price" rule to check current market prices when bet is about to be placed.
Then test it in simulation mode without risking any real money.

