adding "check rule" button