Many of the provisions had been previously applied in practice, but their formal codification coincides with China’s adoption of a series of other regulations on national security and foreign civil society groups.