engine: Change Anonymous class to For Loop

This patch changes the use of LinqUtils with a
simple for loop, for simplicity and readability.

Change-Id: Ifc68ade0e5f7e45d357bcbd394b2beec7805bd88
Signed-off-by: Muli Salem <msalem@redhat.com>