protected static function _prepareRules($rules)
    {
        foreach ($rules as $_name => $_rules) {
            $rules[$_name] = array_flip($_rules);
        }

        $rules = call_user_func_array('array_merge', $rules);

        return array_keys($rules);
    }