Artificial intelligence: regulation for self-protection