allow initing rule with another rule
add example file
add base class
refactor code to use the new base class
changes to generator to use rules and paths
some work on the examples
create read me