The legal ruling follows three days of intense speculation Hewlett-Packard Co. may be bidding for the company .