Events, patterns of behavior and systems' structures