Recursively walk through all rules and keyframes