This is complete fail because not only does it overwrite default game files unnecessarily, it doesn't even do anything to prevent Rainbow FX spam. By removing the ui name, all you're doing is preventing people from attaching the rainbow FX particle emitter to a brick. The rainbow FX can is still available and you can rainbow up the whole world if you want to.
I'm having trouble even imagining a situation where you would post this. I mean you just had an idea, edited some file, then posted it without investigating if you were making the correct changes or testing it or anything. Incredible.