Add rules.pl back

These should finally be what we want.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/rules.pl b/rules.pl
new file mode 100644
index 0000000..51815a7
--- /dev/null
+++ b/rules.pl
@@ -0,0 +1,4 @@
+submit_filter(In,S) :-
+  In =.. [submit | Ds],
+  gerrit_owners:add_match_owner_approval(Ds, A),
+  S =.. [submit | A].