The Canadian government has published an official rule clarifying when foreign military personnel can work in Canada without having a work permit.