Learn social rules, greedy robots become non-greedy, adapt to other robots