A court "ruling" means that the court made a decision about the case or about the law.
A court "order" means an order. The court told somebody to do something.
For example, "X's lawyer argued that what X had done was just a misunderstanding. The court did not agree. The court ruled that it was fraud, and ordered X to pay $3 million to X's victim."