Nice fix, I had a similar problem, and solved it by making pads from Sugru.
I degreased the cowl so that it would stick to it, and put a smear of vaseline on the bonnet face to prevent. Then I simply shut the bonnet onto the soft Sugru and left it to go off, resulting in two formed pads which stop the rattling.
That's clever, I like that.