(a judge or jury) ruled in (someone's) favor
In a court case, a judge or jury decides who wins. To talk about the result of that decision, you say that they "ruled in (the winner's) favor". In the same way, an official decision by a judge or a committee is called "a ruling".
The opposite of "ruling in someone's favor" is "ruling against" someone.
Follow PhraseMix