Addition of valid input rules