new rules and first simple integration test