fix typos and 404 link to rules.js