merge buttons rule