public class Rule
{
    public Rule (char name)
    {
        _name = name;
    }

    public final char getName ()
    {
        return _name;
    }

    private char _name;
}
@@ -34,17 +34,18 @@
 le (
-char name
+int number
 )%0A  
@@ -62,18 +62,22 @@
   _n
-ame = name
+umber = number
 ;%0A  
@@ -102,20 +102,21 @@
 nal 
-char
+int
  getN
-ame
+umber
  ()%0A
@@ -138,19 +138,21 @@
 eturn _n
-ame
+umber
 ;%0A    %7D%0A
@@ -168,17 +168,18 @@
 ate 
-char _name
+int _number
 ;%0A%7D

Update Rule.java