what laws apply to ai