Where did I read about three rules determining how the robots run...

Help me find a half-remembered anecdote about robotics and computing taking a cue from ant- or bee-like, hive-mind biological processes -- a story...