updating rules to fix issues
updating removed old tests from tests/index.html
minor fixes and rule changes