Show Table of Contents
Chapter 6. Writing rules
6.1. Creating a rule
Procedure: Creating a new rule
In the Project Explorer view, do the following:
- If in the Project view of Project Explorer, select the organizational unit, repository and the project where you want to create the rule.
- If in the Repository view of Project Explorer, navigate to src/main/resources/ and the SUBFOLDER/PACKAGE where you want to create the project folder for the rule template.
- In the perspective menu, go to New Item → Guided Rule.
In the Create new Guided Rule dialog window, define the package details:
- In the Resource Name text box, enter the Guided Rule name and click OK.
- The new Guided Rule is now created under the selected project.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.