Add another test to check that rules is not null - Test passes