add UI for tabs on #ruleeditor