Fix loading of Hibernate rules on MyBatis