package rapanui.ui;

public class Application {
	public static void main(String[] args) {
		new Application().run();
	}

	public void run() {
		new MainWindow(this);
	}
}
@@ -18,150 +18,695 @@
 i;%0A%0A
-public class Application %7B%0A%09public static void main(String%5B%5D args) %7B%0A%09%09new Application().run();%0A%09%7D%0A%0A%09public void run() %7B%0A%09%09new MainWindow(this
+import java.io.IOException;%0Aimport java.nio.file.Files;%0Aimport java.nio.file.Paths;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Aimport rapanui.dsl.Parser;%0Aimport rapanui.dsl.moai.RuleSystem;%0A%0Apublic class Application %7B%0A%09private final List%3CRuleSystem%3E ruleSystems = new ArrayList%3CRuleSystem%3E();%0A%0A%09private final Parser parser = new Parser();%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09new Application().run();%0A%09%7D%0A%0A%09public void run() %7B%0A%09%09new MainWindow(this);%0A%09%7D%0A%0A%09public void loadRuleSystem(String fileName) throws IOException %7B%0A%09%09String source = new String(Files.readAllBytes(Paths.get(fileName)));%0A%09%09RuleSystem system = parser.parseRuleSystem(source);%0A%09%09ruleSystems.add(system
 );%0A%09

add Application.loadRuleSystem() method