Replace board index with board rules