Hi Michael, did you by any chance change your number plate or replace the rivets or something of the like ?
I had a rattle like that after replacing the number plate rivets for discreet ones, and had to undo the felt padding on the boot lid to reach inside to take out the old wasted rivets... Can also be something in the boot undertray moving around ?