More changes

Added more comments
Added more helping methods
Added dealing with read - there is a bug that needs fixing.
Progress on saving the rules