Mauro, I bought mine from Mercedes. Do not remember, but seems to me it was rubber...
It should just stay there, fits with some tension.
You may want to check if filler neck is nice and smooth. Also: may want to put some vaseline on the gasket to make it ride smooth on the filler neck, which may feel tight when you put in the new gasket.