add branch-rule