Beans and REST API support for removing index rules