+ // construct the rule
+ string name = getAttribute("name");
+ string content = getString();
+ double probability = Glib::Ascii::strtod(getAttribute("probability"));
+ Rule completeRule(name, content, probability);
+
+ lsystem->setRule(completeRule);