let wolfram_to_array rule_num = assert (0 <= rule_num && rule_num <= 255); Array.init 8 (extract_bit rule_num)