I've got some of these, they feel like a silicone material and are a bit stretchy.
(Un)Fortunately I don't have any tubes with a rattle so don't know if they work. But at 44 cents I'd give it a try, especially if I needed to order other things anyway.