The rule is - if it's going inside the wall, only a licenced electrician can do it. Yes it also extends to things like speaker or HDMI cables. It's mad.
I can understand requiring a license for any power wires behind walls.
I could also see the possibility that it's just an old law that doesn't consider data-only cables which don't have the safety issues that wires carrying power do.