generate report

basic function a) input parameters in homepage and generate report
according to rules template name;