This document presents an approach for adapting user interfaces by dynamically transforming architectural models at runtime. The approach uses model-to-model transformations to select transformation rules from a rule repository based on the current context, apply the selected rules to transform an initial architectural model into an adapted model, and log the rule selection process to update the rule repository. The transformations are defined using a pattern to allow flexibility in the adaptation process. The goal is to adapt user interfaces without needing to predefine all possible transformations.