Fix bug which cause no rules been applied when no generator command in the strategy file