Implemented StatementContext#getIndexRules() and db.schema().getIndexes() to be able to clear the db from index rules in the server tests