added ext-xdebug to require-dev, minor refactoring, added test for unsupported rules