What was rewired to the standard four-rail system