can you add a depth limit to the rule generator?