The code is not specific on which surface(wall) to mount to, is it the rough sheating or the final siding? Any explanation as to why?