New EU rules agreed on contracts for the sales of goods and digital content