From Treatise’s Geometry to an AI-Driven Procedural Framework for Shape Grammars | Synapse