Russian court rejects media law