added rule of branch deletion