Court rules key statements inadmissible in gang rape trial