added eight attribute FILTER for using in pipelined functions. Changes in functions.sql. Also added rebuild version