The case was brought by Anthony Rapp, who had been seeking around $40m (£36m) in damages.