Database code for admin rules gloss show/hide