A multi-level pattern approach for design and enactment