hydiomatic: Introduce (defrules)

Signed-off-by: Gergely Nagy <algernon@balabit.hu>