An experimental study was performed to explore the practical applicability of the rule based design method of shape grammars. The shape grammar method is used for the analysis and synthesis of the hayat house type in a particular context. In the analysis part, the shape grammar method is used to extract basic compositional principles of the hayat house. In the synthesis part, first the evolution of a new hayat house prototype is illustrated. An algorithmic prototype transformation is considered. This transformation is achieved in two ways: by changing the values assigned to the variables that define the component objects of the form, and by replacing the vocabulary elements of the form with new ones. Then, the application of the rule based design method for housing pattern generation is explored. The design of a housing complex is illustrated using this method.