Top down parser for search ui

Change-Id: Iec4eee9600e80ec1ee928fe1cfa2c5795f9ee1fa