new rules for inputs