Artificial Intelligence as a Tool for Legal and Legislative Challenges