The only globaldeclaration is for the root of the document (the root of a document has to be a globaldeclaration, since the root has no parent).
唯一的全局声明是用于文档的根的(文档的根必须是全局声明,因为根没有父元素)。
2
For a globaldeclaration, you need to specify its type (that is, class name) and the identifier you want to use to refer to it (that is, variable name).
对于global声明,需要指定它的类型(即类名)和想要用于引用它的标识符(即变量名)。
3
The globaldeclaration lets the rules engine know that an object should be accessible from within your rules but that it should not be part of the knowledge used to evaluate the rules' conditions.