The new rules will restrict the use of people’s data in training AI systems.