Added modal for new rules
Made reading of the rules file