An exception is thrown if no rule is defined inside a test spec