Court ruling could cut negligence claims