Methods and systems of transforming an AND/OR command tree into a command
data model are described. An unsimplified command data model is generated
from the AND/OR command tree by expressing the AND/OR command tree as a
command tree using elements of EBNF (Extended Backus-Naur-Form) notation.
Selected structures within the unsimplified command data model are
simplified to create a simplified command data model. The simplified
command data model is refined into a refined command data model by
allowing renaming of selected elements of the command data model. The
renaming is based on user-specified instructions.