1) Determination of the general adaptation resource and composition of a tree with all the different adaptation aspects and the leaf nodes of adaptation. For each aspect that can be divided into other adaptation aspects, a graphical diagram might be provided. 2) For each leaf node, determination of the type of variable that represents such leaf node and its possible range of values. A textual representation of it is required. 3) Identification of all the atomic rules for each leaf node with their textual descriptions. 4) Graphical description of higher level usual rules as the composition of atomic rules using the four different explained relationships. 5) Implementation of all the atomic rules using some semantic web rule language (e.g. N3), programming language, etc.