added rules-model to index.html