Gate valve with rubber wedge