Modeling Decision for Artificial Intelligence