bugfix, fix rules spec
bugfixes, more specs passing