How to create / deploy custom check in policy in TFS 2010

This is excellent article to explain about how to create and deploy custom check in policy in TFS 2010.

http://blogs.msdn.com/b/jimlamb/archive/2010/03/31/how-to-implement-package-and-deploy-custom-check-in-policy-for-tfs-2010.aspx