Checking the syntax
Choose Tools-Syntax check or press the Check syntax button. If you get errors it will be because you have mis-typed something. It may take you several tries to get the syntax correct. Dont worry about it. GRAIL is an unforgiving language. That means that errors get detected early. It also means that it can take considerable effort before you have a clean file to compile.
(The syntax checker does not guarantee that a file compiles without errors. There can still be contradictions and other semantic errors which can only be recognised when the expression is fully compiled. But it saves much time and often gives more helpful error messages.)
Checking the result
Once the syntax is checked, choose Tools-Compile or press the Compile button.
Browse Car and Vehicle again to be sure that you have the same overall result as previously. Check the criteria to see that you now have explicit criteria representing whether a vehicle travels on rails or road.