The new law requires library them and school them to use filter them or lose federal financing .
The 6-3 ruling reinstates a law that told library them to install filter them or surrender federal money .