For football matches you can check score. Create one strategy that will bet when home team is losing and second one when away team is losing. Use "Football - Bet when score" rule to check match score.
At strategy "Edit" form tick option to use favorite positions from before in play. Then set first strategy to use "Bet type by RUNNER position" and set it to Lay 1st runner by position (home team at MATCH_ODDS market), Second strategy should be set to Lay 2nd runner by position (away team).
Then use "Selection conditions->Selections filter" that will allow betting only on first favorite by position.
Make sure you auto load match odds markets before they go in play and then test it in simulation mode.