Share rules among projects with NDepend rule files (.ndrules)

NDepend stores your CQLinq queries and rules in the project file.

Rule Files can be created and shared amongst NDepend projects. This is useful to define company-level standard rules sets shared amongts projects, and get them applied by all teams.

As the source code is the design you might prefer storing your CQLinq queries and rules directly in your source code (C#, VB.NET...) as explained in the document Declare CQLinq rules in C# or VB.NET source code.