Hi,
Had the same problem as you, engine rough at idle only. Turned out to be worn injector nozzles, two needed replacing so did the lot. If its not the MAF this is most likely the problem, see your local BOSCH diesel specialist, seems to be an inherent problem with circa 2000 reg cars. Expect £115 per nozzle for replacement.