Create a new UserRule.
metadata of the parent rule
base directory where this user rule is saved
a string prepended to the rule name