Add util so that rule-manager can load the rule from disk.