The rule would be 12-3006. In Alberta there is an ammendment to allow splicing in lb's for solenoids, photocells, etc. Wire leads from these devices must be integral to the device. The fitting must comply with the requirements of rule 12-3036 and Table 22.