Define Datomic Named Rules

Let us specify datomic rules. Then can be specified in :rules. i.e.

{:rules [[(twitter ?c)
  [?c :community/type :community.type/twitter]]] }

It can be used to simplify queries, and implement recursion.