I think the selection is a byproduct of the underlying laws, thought one must rely on chance until a system complicated enough to engage in selection emerges. Now, are those underlying laws reliant upon chance? This requires understanding beyond that of the current universe, so maybe.