We present a novel practical method for group delay compensation of Bragg gratings imprinted in planar waveguides for high speed DWDM systems. Although Bragg grating-based wavelength selective devices in optical fibers have reached their maturity, similar components built on the basis of planar technology are still the research issue. We analyze an integrated Mach-Zehnder interferometer-based Add-Drop multiplexer equipped with two pairs of gratings, one designed as a wavelength selective filter and the other one as a group delay compensator.