protected function extractFieldAliases(array $data)
    {
        foreach ($data as $field => $fieldRules) {
            $extraction = explode('|', $field);

            if (isset($extraction[1])) {
                $updatedField = $extraction[0];
                $alias        = $extraction[1];

                $this->fieldAliases[$updatedField] = $alias;
                $data[$updatedField] = $data[$field];
                unset($data[$field]);
            }
        }

        return $data;
    }