Add rules page. Fix 'the Pug bug'.