Add the following lines to the top of the rule class.
向规则类的顶部添加下列代码。
The rule class is quite simple, typically containing only a single method.
规则类是十分简单的,典型情况下只包含一个方法。
Each rule class implements the RuleImplementor interface which includes two methods: fire and init.
每个规则类都实现了Rule Implementor接口,该接口包含两个方法:fire和init。
Each rule class implements the RuleImplementor interface which includes two methods: fire and init.
每个规则类都实现了Rule Implementor接口,该接口包含两个方法:fire和init。
应用推荐