run rules on dependency-only products

This enables compound products that do not provide their own source
files but only consist of dependencies.

Task-number: QBS-277
Change-Id: I8e3fc5b5e3a85ca2c6fe4890dcd52d3a55cebfe2
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>