I did this on my brother's new build bungalow and BCO wasn't happy. He said they had to be 50mm down from felt and 50mm up from ceiling.
X(X( X(
I know they have to be 50mm up from ceiling and down from floorboards, but never seen anything in the regs about the roof.