@classmethod<EOL><INDENT>def set_rules(cls, rules: dict) -> bool:<DEDENT>
cls._rules = cls._rules.new_child()<EOL>for rule_name, rule_pt in rules.items():<EOL><INDENT>if '<STR_LIT:.>' not in rule_name:<EOL><INDENT>rule_name = cls.__module__+ '<STR_LIT:.>' + cls.__name__+ '<STR_LIT:.>' + rule_name<EOL><DEDENT>meta.set_one(cls._rules, rule_name, rule_pt)<EOL><DEDENT>return True<EOL>
Merge internal rules set with the given rules