Fixed rules.xml and index.html