Migrate rules.pl from All-Projects

These rules should live in chromiumos, since they will only apply to
chromiumos projects.

All-Projects removal CL: crrev.com/c/1697056

TEST=None
BUG=chromium:748644

Change-Id: I2453574aba88b37b155f7c0dbdfac88e51756378
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/+/1698581
Reviewed-by: Alex Klein <saklein@chromium.org>
Reviewed-by: Ned Nguyen <nednguyen@google.com>
Tested-by: Chris McDonald <cjmcdonald@chromium.org>
1 file changed