SCOTUS rules in favor of Trump