Return a more helpful error message, when the provided transformation
rules are not hierarchies