can parse constants.pas
fix some bug of rule