out.writeObject( this.staticImports );
out.writeObject( this.functions );
out.writeObject( this.factTemplates );
out.writeObject( this.ruleFlows );
out.writeObject( this.globals );
out.writeBoolean( this.valid );
out.writeObject( this.rules );
out.writeObject( this.classFieldAccessorStore );
out.writeObject( this.entryPointsIds );
out.writeObject( this.windowDeclarations );
// writing the whole stream as a byte array