In addition to the set of code review rules that are shipped with the product, you can create your own rules based on a set of templates. Each template corresponds to a generic rule with a set of empty parameters for which you supply values. Supplying a set of values creates a new rule from the template that can be shared between team members.
Creating rules for architectural control
You can create a rule to alert you if extraneous dependencies are introduced into your application's code. The New Code Review Rule wizard provides templates for architectural control rules that you can customize for your application. You make rules unique by specifying properties for them.Modifying user-defined rules
Code review rules that are shipped with the product can only be enabled or disabled. However, user-defined rules can be moved into different rule categories, removed, enabled, or disabled.Importing rule configurations
You can modify and disable rules to create your own rule configuration, and then export or import a rule configuration.Exporting rule configurations
You can modify and disable rules to create your own rule configuration. You can export that configuration to a file that other team members can import. This allows the team to efficiently share a customized rule configuration to ensure that they run consistent code reviews that apply exactly the same rules and settings.
Parent topic: Configuring code reviews