Rejects rules that declare no targets.

  $ dune build
  File "dune", line 1, characters 0-28:
  1 | (rule (run %{bin:echo} foo))
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Error: Rule has no targets specified
  [1]
