Filtering the resource allocation table

Filter the resource allocation table by using this procedure.