Brown’s moduli spaces and the gravity operad