To create your own quality control rule, you must first create a plug-in that contains all the components of the rule. Templates are supplied for rules specific to Rational Programming Patterns.
The Templates page displays on the left side all the available templates. The templates specific to Rational Programming Patterns are prefixed by "RPP". You can select a template for a rule or a template for a rule template.
On the right side of the wizard, you can read explanations about the selected template and the extension used.
The next page contains the properties of the rule and you can modify the fields to customize the rule. The content of this page varies depending on the template
When the plug-in project is created, its components are added in the Package Explorer and the plug-in editor opens up.
In the Extensions tab (corresponding to the content of the plugin.xml file), you can see the extension you need to extend to add a rule to you workspace. The tab also displays the properties of the rule with the default values set in the creation wizard of the plug-in.
In the plug-in components, you can see the Java class that executes the quality control. The code is quite simple and gives an example of using the Rational Programming Pattern API. You can use these classes to start. For experienced people, you can modify the code and customize it to create your own rules.
For a complete information on the plug-in creation, consult the sections "Reference > Wizards and Dialogs > New Project Creation Wizards" and "Reference > Editors" in the Plug-in Development Environment (PDE) User Guide of Eclipse documentation.