Closures, lids, caps or filter heads forming one element with the filtering element