bug fix for SPEC_COMPOSE_RULE