At my place we have worked out how to cure this rattle for good!
Taken a while to perfect it.
Basically we remove the head lining, take the sunroof out.
Then as you look at the roof from inside it has a strenghtener bar which is made of a flimsy metal plate, we pack silicon between the roof and the strenghtener and them apply heavy duty tape to hold it in place.
Also where the sunroof sits up against the roof we apply a small film of silicon and also fit tape to this.
Next thing is sunroof frame, remove all srews one by one and apply a small amount of silicon into the hole that the screw goes into, then refit screws.
Once all that is done and silicon has cured, refit all the bits back on.
We have done a fair few like this and I can say we have never had one come back!
Took a while to perfect this!
So at last a cure for the sunroof rattle