form input parser rules