mod_rayo: reworked attribute validation (untested)