Unit tests for DeclaringParameterProvider
No ioc container in Rules infrastructure
Unit tests and slight improvements for rule engine