Fix tests and add Symfony EventDispatcher
Update logic and tests to properly evaluate rules on a resource based off PR's from  and