 
     EventSourcing.subscribe es, :create, fn %{ uuid: uuid, data: data }, me ->
       rule = create_real(uuid, data)
-      Serverboards.Event.emit("rules_v2.update", %{ rule: rule }, ["rules.view"])
-      if (data.project != nil) do
-        Serverboards.Event.emit("rules_v2.update[#{data.project}]", %{ rule: rule }, ["rules.view"])
+      Serverboards.Event.emit("rules_v2.created", %{ rule: rule }, ["rules.view"])
+      project = get_project(uuid)
+      if (project != nil) do
+        Serverboards.Event.emit("rules_v2.created[#{project}]", %{ rule: rule }, ["rules.view"])
       end
     end
 

    end
  end

  # Server impl
  def init([]) do
    {:ok, %{}}


  def create( %{} = data, me ) do
    uuid = UUID.uuid4
    EventSourcing.dispatch(
      Serverboards.RulesV2.EventSourcing,
      :create,
      %{ uuid: uuid, data: data },
