Court ruling shapes patent infringement cases