Added support for managing the site rules within the toolbox and updated rules.php to get rules data from the database