add leave rules