public TerminatingRegexRule() {
   super.setTerminating(true);
 }
 public TerminatingRegexRule(@Name("regex") String regex) {
   super(regex);
   super.setTerminating(true);
 }