Got rule object fleshed out a bit more, removed miscellaneous bugs and typos