Rules and Patterns



I'm not sure what you want to accomplish, but you might want to use the 
program for partitioning that is described in
http://www.cs.berkeley.edu/~fateman/papers/partition.pdf

RJF