ILOG Rules for .NET User Guides > ILOG Rule Solutions for Office > Writing and editing rules > Tutorial: Editing rules in Word 2007 > Step 1: Getting started

In this step, you open and become familiar with the contents of a sample RuleDoc and configure some basic display options. The sample document describes the pricing policies for special offers applicable to EU-Rent car rental agreements and contains the business rules that actually implement these policies directly in the company's customer-facing IT applications.

Open the sample RuleDoc file
  1. Navigate to the folder where you installed ILOG Rule Solutions for Office, open the Tutorials subfolder, and then double-click the sample business rule file Pricing.docx to open the document in Microsoft Office Word.
  2. Or:
    In Microsoft Office Word, click the Office Button images/msoffice_button.png , click Open, browse to the folder where you installed ILOG Rule Solutions for Office, open the Tutorials subfolder, and then double-click the sample business rule file Pricing.docx to open the document.
  3. If the RuleDoc pane is not visible, on the Rules tab, in the View group, click RuleDoc Pane to display the RuleDoc pane.
  4. images/ribbongroup_view.png
    The RuleDoc Outline section of the RuleDoc pane lists all the business rules contained in the current RuleDoc. You should see seven business rules listed.
    Note that the third rule in the list ("Default Special Offer: Pricing") is highlighted with an icon containing a red "x", indicating that the rule contains errors. You will correct these errors later in this tutorial.
  5. If necessary, you can increase the height of the RuleDoc Outline section of the RuleDoc pane by placing the cursor over the bottom border of the RuleDoc Outline section until the resize icon appears. Click and drag the border to increase or decrease the height of the section.
  6. You can increase the width of the RuleDoc pane by placing the cursor over the left side border of the RuleDoc pane until the resize icon appears. Click and drag the border to increase or decrease the width of the pane.
  7. If syntax highlighting is not enabled, on the Rules tab, in the Review group, click Highlight Syntax to turn on syntax highlighting.
  8. images/ribbongroup_review.png
    Syntax highlighting applies different colors and styles to the text of your business rules to make it easier to identify the different parts that make up your rule statements.
  9. On the Rules tab, in the Write group, make sure the Sentence Completion and Completion Menu options are both enabled.
  10. images/ribbongroup_write.png

Next: Step 2: Update an existing business rule