I don't know if there is a facelets lib in the RichFaces dist package, but there is one in the Icefaces. They hare "solve" a little problem by personalizing they own ice-facelets distribution.
This link show a little improvement that I think is simple but very welcome. http://jira.icefaces.org/browse/ICE-2072
Is there possibility to do something like that or this is already donne?