make schema tab default, fix rule edit bugs
only select when in selector tab, fix bugs