Reconstructed. Rules and algorithms were seperated.