2) The "declare RuleConstant" below does not define global variables,
but a class for
which the default constructor would initialize the fields to default values.
You may want to declare an enum instead:
declare enum RuleConstant
COUPE( "C" ),
SEDAN( "S" );
code : String
end
you can then use it as an enum...