Added input validation to the text fields of the New Battle Rules tab on the UI.