I imagine it would be the same as deleting them on a GD WRX wagon?
If so, you have to pull the headliner to get to the nuts/bolts holding the rails on and then you will need to fill the holes and get that rain gutter trim piece.
It's a decent amount of tedious work but I think it really cleans up the car.