Execute apply/object rules in parallel.

Fixes #6223