Generate Rule with first tests