Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • $\begingroup$ Thanks. It makes sense why your solution works. I still can't see why the other version fails. Your solution seems more general and should work in all cases. What is it about using a the original patter of just 'Rule' that allowed it to work at all on rules1? $\endgroup$ Commented Nov 12, 2012 at 21:30
  • 1
    $\begingroup$ It should be noted that while this solution works, it does so by taking advantage of the structure of rules2 (see FullForm or TreeForm) $\endgroup$ Commented Nov 13, 2012 at 20:11