The rule of law is a political ideal, not a legal concept.
The ultimate goal of artificial intelligence is to create machines that can perform tasks that would require intelligence if done by humans.