def __init__(self, *rules):
        """Create a `RuleSet` for a number of rules.

        Parameters
        ----------
        rules
            One or more instances of RewriteRule

        """
        self._net = Node()
        self.rules = []
        for p in rules:
            self.add(p)
Create a `RuleSet` for a number of rules.

        Parameters
        ----------
        rules
            One or more instances of RewriteRule

        
src/flash/core/serve/dag/rewrite.py