another bug fix in SPEC_COMPOSE_RULE