Fixes #3056: add the possibility to clone rules

Add a [Clone] button in the rule edit form so that you can quickly duplicate the current rule.