Engineering entanglement for metrology using rotating matter waves