Dynamic context-aware business process: a rule-based approach supported by pattern identification