Updated rule parser and host graph parser.