A judge rules in the AP case against Trump