Model m = parse(text+"\n").model();
m = new ResolveImports(baseDir).transform(m);
m = new ShapeToRuleTransformer().transform(m);
// m = new AddPinchesModelTransformer().transform(m);
m = new AddRatesFromShapesTransformer().transform(m);
return m.toString().trim();
} catch (RecognitionException e) {
return stacktrace(e);
}