Added history enter to submit and rules