test infra for rule and repo classes