generalised spiltting theorem in the Bakry-Emery Ricci case