Why does Visual Studio code deprecated the “.rules” method? And what is the alternative? [closed]

enter image description here

I’m trying to use the “.rules” method of #javascript to delete one of the properties inside a #css file but the editor tells me that this method can’t be used and it’s deprecated! What is the alternative?…for more details see the picture