Move pages to public/
Basic rule set system
Added some documentation