Routing rules for components in Altium
With a PCB doc open, go to Design -> Rules, select Routing -> Width

Create a Query, such as:

inNet('GND') or inComponent('U1') 


Alternately, you can use the Query Helper or Query Builder to set up your rule.