Unit Tests - Rules Service.