Grammer rule with XML

<rule id="ID" name="sailboat->    saleboat">
 <pattern>
  <token>saleboat</token>
 </pattern>
 <message>Wrong spelling.</message>
 <example type='incorrect'>I wanna have <marker>saleboat</marker>.</example>
 <example type='correct'>I wanna have sailboat.</example>
</rule>

Thanks for your rule! It actually catches a mistake that a spell checker can also detect… we’re more interested in those errors that a spell checker cannot find.