in reply to Hash of array of hashes

... foreach my $cond (@{$mapping_rule{$rule}}) { foreach my $param (keys %{$cond}) { ...