Restore rules.gradle.

Change-Id: Ie1f3aeed20e9f199836b2ced016515893af26c11
diff --git a/build.gradle b/build.gradle
index 1a864dc..e88a6c5 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,3 +1,11 @@
+// NOTE: The only changes that belong in this file are the definitions
+// of tool versions (gradle plugin, compile SDK, build tools), so that
+// Volley can be built via gradle as a standalone project.
+//
+// Any other changes to the build config belong in rules.gradle, which
+// is used by projects that depend on Volley but define their own
+// tools versions across all dependencies to ensure a consistent build.
+
 buildscript {
     repositories {
         mavenCentral()
@@ -14,3 +22,4 @@
     buildToolsVersion = '21.1.0'
 }
 
+apply from: 'rules.gradle'