Shortcut to create a rule from the logs