Clean the form rules