Added doc template and rules