Rules for Artificial Intelligence and Machine Intelligence