adding replacement rules for stack